<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="专业的光线分析与补光方案推荐系统">
    <meta name="keywords" content="光线分析,补光方案,摄影灯光,专业摄影">
    <title>光线分析系统 - 专业的补光方案推荐</title>
    <style>
    :root {
        --primary-color: #1890ff;
        --secondary-color: #096dd9;
        --background-color: #f0f2f5;
        --text-color: #333;
        --card-background: #ffffff;
        --border-radius: 8px;
        --transition: all 0.3s ease;
    }

    body {
        font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: var(--background-color);
        color: var(--text-color);
        line-height: 1.6;
    }

    header {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    nav ul {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 2rem;
        margin: 0;
    }

    nav a {
        color: white;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }

    nav a:hover {
        background-color: rgba(255,255,255,0.1);
    }

    main {
        padding: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin: 2rem 0;
    }

    .feature-card {
        background-color: var(--card-background);
        padding: 1.5rem;
        border-radius: var(--border-radius);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: var(--transition);
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

    .upload-section {
        background-color: var(--card-background);
        padding: 2rem;
        border-radius: var(--border-radius);
        text-align: center;
        margin: 2rem 0;
    }

    footer {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        text-align: center;
        padding: 1.5rem;
        margin-top: 4rem;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .social-links a {
        color: white;
        text-decoration: none;
        transition: var(--transition);
    }

    .social-links a:hover {
        opacity: 0.8;
    }

    @media (max-width: 768px) {
        .nav-container {
            flex-direction: column;
            gap: 1rem;
        }

        nav ul {
            flex-direction: column;
            text-align: center;
            gap: 1rem;
        }

        .feature-grid {
            grid-template-columns: 1fr;
        }
    }
</style>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/antd@5.27.0/dist/reset.css">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
    <header>
        <div class="nav-container">
            <div class="logo">
                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                    <circle cx="12" cy="12" r="5"/>
                    <path d="M12 1v2"/>
                    <path d="M12 21v2"/>
                    <path d="M4.22 4.22l1.42 1.42"/>
                    <path d="M18.36 18.36l1.42 1.42"/>
                    <path d="M1 12h2"/>
                    <path d="M21 12h2"/>
                    <path d="M4.22 19.78l1.42-1.42"/>
                    <path d="M18.36 5.64l1.42-1.42"/>
                </svg>
                <span>光线分析系统</span>
            </div>
            <nav>
                <ul>
                    <li><a href="#home">首页</a></li>
                    <li><a href="#analysis">光线分析</a></li>
                    <li><a href="#solution">补光方案</a></li>
                    <li><a href="#guide">使用指南</a></li>
                </ul>
            </nav>
        </div>
    </header>
    <main>
        <section id="home" class="hero-section">
            <h1>专业的光线分析与补光方案</h1>
            <p>智能分析环境光线，为您提供最佳补光建议</p>
            <div class="upload-section">
                <h2>开始分析</h2>
                <p>上传您的场景照片，获取专业分析报告</p>
                <div id="root"></div>
            </div>
        </section>
        <section id="analysis">
            <h2>专业光线分析服务</h2>
            <div class="feature-grid">
                <div class="feature-card">
                    <h3>实时分析</h3>
                    <p>采用先进算法，智能分析环境光线强度、色温和分布情况，为您提供精确的光线数据。</p>
                </div>
                <div class="feature-card">
                    <h3>数据可视化</h3>
                    <p>通过专业的图表展示光线分布情况，直观呈现光线强度热力图和光线方向分析。</p>
                </div>
                <div class="feature-card">
                    <h3>智能建议</h3>
                    <p>基于分析结果，提供个性化的补光方案，包括灯具位置、亮度调节和角度建议。</p>
                </div>
            </div>
        </section>
        <section id="solution">
            <h2>补光方案推荐</h2>
            <div class="feature-grid">
                <div class="feature-card">
                    <h3>场景识别</h3>
                    <p>自动识别拍摄场景类型，如人像、产品、室内外等，提供针对性的补光建议。</p>
                </div>
                <div class="feature-card">
                    <h3>设备推荐</h3>
                    <p>根据场景需求，推荐合适的补光设备，包括补光灯、反光板等专业器材。</p>
                </div>
                <div class="feature-card">
                    <h3>参数优化</h3>
                    <p>提供精确的补光参数建议，包括光源位置、亮度、色温等关键指标。</p>
                </div>
            </div>
        </section>
        <section id="guide">
            <h2>使用指南</h2>
            <div class="feature-grid">
                <div class="feature-card">
                    <h3>快速入门</h3>
                    <ol>
                        <li>上传场景照片</li>
                        <li>等待系统分析</li>
                        <li>查看分析报告</li>
                        <li>应用补光建议</li>
                    </ol>
                </div>
                <div class="feature-card">
                    <h3>专业术语</h3>
                    <dl>
                        <dt>色温</dt>
                        <dd>光源所发出的光的颜色温度，单位为开尔文(K)</dd>
                        <dt>光强</dt>
                        <dd>光源在某一方向的发光强度，单位为坎德拉(cd)</dd>
                    </dl>
                </div>
                <div class="feature-card">
                    <h3>常见问题</h3>
                    <p>查看我们的常见问题解答，了解更多关于光线分析和补光技巧。</p>
                </div>
            </div>
        </section>
    </main>
    <footer>
        <div class="social-links">
            <a href="#" title="微信">微信</a>
            <a href="#" title="知乎">知乎</a>
            <a href="#" title="微博">微博</a>
        </div>
        <p>&copy; 2025 光线分析系统. All rights reserved.</p>
    </footer>
    <div id="root"></div>
    <script type="module" src="../src/index.js"></script>
<script src="../src/script.js"></script>
</html>